package chatsystem;

import chatsystemTDa2.*;
/**
 *
 * @author julien
 */
public interface FromRemoteChatSystem {
    void onHelloReceived(Hello m, String remoteAddr);
    void onHelloAckReceived(HelloAck m, String remoteAddr);
    void onSendReceived(Send m, String remoteAddr); //Reception d'un message
    void onSendAckReceived(SendAck m); //Reception de l'aquitement de la reception d'un message
    void onGoodbyeReceived(Goodbye m, String remoteAddr);
}
